var commonModule = angular.module('commonModule');

commonModule.directive('flexslider', function() {
	return {
	    restrict: 'A',
	    replace: true,
	    link: function(scope, elem, attrs) {
	        $(elem).flexslider({
				slideshowSpeed: 5000, //展示时间间隔ms
				animationSpeed: 1000, //滚动时间ms
				touch: true, //是否支持触屏滑动
			});
	    }

	};
});
